<?php

/**
 * 商品类别演示数据
 */

$data = [
    ['spec_name' => '包装形式', 'category_id' => 1, 'children' => [
        ['spec_name' => '箱装', 'category_id' => 1],
        ['spec_name' => '桶装', 'category_id' => 1],
        ['spec_name' => '瓶装', 'category_id' => 1],
        ['spec_name' => '礼盒装', 'category_id' => 1],
    ]],
    ['spec_name' => '加工工艺', 'category_id' => 1, 'children' => [
        ['spec_name' => '压榨', 'category_id' => 1],
        ['spec_name' => '浸出', 'category_id' => 1],
    ]],
    ['spec_name' => '等级', 'category_id' => 1, 'children' => [
        ['spec_name' => '特级', 'category_id' => 1],
        ['spec_name' => '一级', 'category_id' => 1],
        ['spec_name' => '二级', 'category_id' => 1],
        ['spec_name' => '三级', 'category_id' => 1],
        ['spec_name' => '四级', 'category_id' => 1],
    ]],
    ['spec_name' => '净含量', 'category_id' => 1, 'children' => [
        ['spec_name' => '0-1L', 'category_id' => 1],
        ['spec_name' => '1.1-3L', 'category_id' => 1],
        ['spec_name' => '3.1-5L', 'category_id' => 1],
        ['spec_name' => '5.1-10L', 'category_id' => 1],
        ['spec_name' => '10L以上', 'category_id' => 1],
        ['spec_name' => '0-100mL', 'category_id' => 1],
        ['spec_name' => '101-250mL', 'category_id' => 1],
        ['spec_name' => '251-500mL', 'category_id' => 1],
    ]],
    ['spec_name' => '是否转基因', 'category_id' => 1, 'children' => [
        ['spec_name' => '转基因', 'category_id' => 1],
        ['spec_name' => '非转基因', 'category_id' => 1],
    ]],
    ['spec_name' => '原料', 'category_id' => 1, 'children' => [
        ['spec_name' => '紫苏籽油', 'category_id' => 1],
        ['spec_name' => '稻米油', 'category_id' => 1],
        ['spec_name' => '粟米油', 'category_id' => 1],
        ['spec_name' => '棕榈油', 'category_id' => 1],
        ['spec_name' => '芝麻油', 'category_id' => 1],
        ['spec_name' => '葡萄籽油', 'category_id' => 1],
        ['spec_name' => '牛油果油', 'category_id' => 1],
    ]],
];

return ['table' => 'ec_specification', 'text' => '商品规格', 'is_tree' => true, 'truncate' => true, 'data' => $data, 'append' => ['created_at' => time(), 'updated_at' => time()],];
